package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseFintechCreditDao;
import com.appkubes.mall.core.entity.FintechCredit;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseFintechCreditService extends AbstractBaseService<BaseFintechCreditDao, FintechCredit> {

    FintechCredit getOneByEntity(FintechCredit entity);

    List<FintechCredit> selectListByEntity(FintechCredit entity);

    IPage<FintechCredit> selectPageByEntity(IPage<FintechCredit> page);
    IPage<FintechCredit> selectPageByEntity(PageVO pageVO);

    IPage<FintechCredit> selectPageByEntity(FintechCredit entity, IPage<FintechCredit> page);
    IPage<FintechCredit> selectPageByEntity(FintechCredit entity, PageVO pageVO);

    IPage<FintechCredit> selectPageByEntity(FintechCredit entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(FintechCredit entity);
}
